package de.smarthome.ColorManagement;

public class Colorbuilder {

	public int color;

	public Colorbuilder(int color) {
		this.color = color;
	}

	public String getRed() {

		return Integer.toString(((this.color >> 16) & 0xFF));
	}

	public String getGreen() {
		return Integer.toString(((color >> 8) & 0xFF));
	}

	public String getBlue() {
		return Integer.toString(color & 0xFF);
	}
}
